<template>
  <div class="viewtipsbox clmcenter">
    <img src="@/assets/img/viewtips.png" class="viewtips" />
    <p v-html="langin == 'en' ? 'SWIPE TO VIEW MORE' : '左右滑动 更多精彩'"></p>
  </div>
</template>
<script>
export default {
  props: ["lang"],
  data() {
    return {
      langin: "",
    };
  },
  created() {
    this.langin = this.lang;
  },
};
</script>
<style lang="less" scoped>
.viewtipsbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  padding: 3rem 2rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.5);
  img {
    width: 130px;
  }
  p {
    text-align: center;
    font-size: 1.4rem;
    color: #fff;
    margin-top: 1rem;
  }
}
</style>
